package com.csun.cmny.provider.device.csun.camera.entity;

import com.csun.cmny.provider.utils.DateUtil;
import com.csun.cmny.provider.utils.WatchUtils;
import lombok.Data;

/**
 * @author : chisj
 * create at:  2020-03-05  15:57
 * @description: the class csun camera rtmp play msg
 */
@Data
public class CsunCameraRtmpPlayMsg {

    /**
     * msg type
     */
    private String msgType = CsunCameraConstant.CAMERA_MSG_RTMP_PLAY;

    /**
     * sn
     */
    private String sn;

    /**
     * date yyyy-MM-dd hh:mm:ss
     */
    private String date = DateUtil.getCurrentDate();

    /**
     * 任务Id
     */
    private String taskId = WatchUtils.getRandomString(10).toUpperCase();

    /**
     * 视频文件名称
     */
    private String videoFileName;

    /**
     * rtmpt推流地址
     */
    private String rtmpUrl;
}